package com.lmb.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class Subsidies {
    private Integer subsidy_id;         // 补贴ID
    private Integer family_id;          // 所属家庭ID
    private String subsidy_type;        // 补贴类型
    private BigDecimal amount;         // 补贴金额
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    private Date payment_date;          // 发放日期
    private String receiver_name;       // 领取人姓名
    private String bank_account;        // 银行账号
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date create_time;           // 创建时间
}
